#!/bin/bash

X=0;
for i in $@;
    do
        X=$(( $(wget -O - $i | wc -c | cut -f1 -d" ") + $X ));
    done ;
echo $X;